package com.haixiaoke.saas.repository.pojo;

import com.haixiaoke.saas.repository.core.BaseEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;


/**
 * 热门景点对象 base_hot_attractions
 *
 * @author qixi
 * @date 2023-04-06
 */
@Data
public class HotAttractions extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 景点id */
    private Long attractionsId;

    /** 景点名称 */
    @NotNull(message = "景点名称不能为空")
    private String attractionsName;

    /** 省id */
    @NotNull(message = "省id不能为空")
    private Long provinceId;

    /** 省 */
    private String provinceName;

    /** 城市id */
    @NotNull(message = "城市id不能为空")
    private Long cityId;

    /** 城市名称 */
    private String cityName;

    /** 排序 */
    @NotNull(message = "排序字段不能为空")
    private Long sort;

    /** 经度 */
    @NotNull(message = "经度不能为空")
    private Double longitude;

    /** 纬度 */
    @NotNull(message = "纬度不能为空")
    private Double latitude;

}
